package com.xb.loan.util.qrtz.common.bean;


import java.util.Date;
import java.util.HashMap;

/**
 * 
 * 任务实体对象
 */
public class TaskEntity {
	private String id;
	private String desc;
	/**
	 * 创建时间
	 */
	private Date create_time;
	/**
     * 开始时间
     */
	private Date start_time;
	/**
     * 完成时间
     */
	private Date complete_time;
	/**
     * 任务类型 SIMPLE, CRON
     */
	private String task_type;
	private String cron;
	/**
     * 任务状态 WAITING 待处理 ， EXECUTING 处理中， COMPLETE  完成
     */
	private String task_status;
	/**
     * 处理任务节点 主机地址
     */
	private String host;
	
	private int version;
	/**
     * 任务处理类
     */
	private String className;
	/**
	 * 任务执行参数
	 */
	private HashMap<String,Object> task_date=new HashMap<String,Object>();
	
	private String fireTime;
	

	public String getFireTime() {
        return fireTime;
    }

    public void setFireTime(String fireTime) {
        this.fireTime = fireTime;
    }

    public HashMap<String, Object> getTask_date() {
		return task_date;
	}

	public void setTask_date(HashMap<String, Object> task_date) {
		this.task_date = task_date;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public Date getStart_time() {
		return start_time;
	}

	public void setStart_time(Date start_time) {
		this.start_time = start_time;
	}

	public Date getComplete_time() {
		return complete_time;
	}

	public void setComplete_time(Date complete_time) {
		this.complete_time = complete_time;
	}

	public String getTask_type() {
		return task_type;
	}

	public void setTask_type(String task_type) {
		this.task_type = task_type;
	}

	public String getCron() {
		return cron;
	}

	public void setCron(String cron) {
		this.cron = cron;
	}

	public String getTask_status() {
		return task_status;
	}

	public void setTask_status(String task_status) {
		this.task_status = task_status;
	}

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public int getVersion() {
		return version;
	}

	public void setVersion(int version) {
		this.version = version;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

}
